package com.yuan.statemachine.business;

/**
 * @author wjwei
 */

public enum BusinessEventEnum {

    /** 事件*/
    CREATED(1,"下单"),
    PAY(2,"支付"),
    INTERCEPT(3,"拦截"),
    INVALID(4,"作废"),
    COLLECT(5,"揽收"),
    DELIVER(6,"发货");

    private final int code;
    private final String remark;

    BusinessEventEnum(int code, String remark) {
        this.code = code;
        this.remark = remark;
    }

    public int getCode() {
        return code;
    }

    public String getRemark() {
        return remark;
    }
}
